/**
 * 
 */
package ai.ann;


/** 
 * @author Object
 * @proyect MyFirstNeuronalNetwork
 * @package neuronalNetwork
 */
public class FullSynapseDirect extends SynapseDirect {

	/**
	 * 
	 */
	public FullSynapseDirect() {
	}

	public double[] stimulation(double[] stimulate) {
		int x;
        int y;
        double s;
        for (y=0; y < columms; y++) {
            s = 0;
            for (x=0; x < rows; x++) {
                s = s + stimulate[x] * synapseMatrixs[x][y];
            }
            outMatrixs[y] = s;
        }
		return getOutput().stimulation(getOutMatrix());
	}

}
